<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--topbar-->
<nav class="navbar sticky-top flex-md-nowrap p-0" th:fragment="topbar"  id="navbar" >
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">[[${session.loginUser}]]</a>
    <h5>成绩管理系统@重庆工商大学</h5>
    <ul class="navbar-nav px-3" id="navbar-nav">
        <li class="nav-item text-nowrap">
            <a class="nav-link" th:href="@{/logout}">退出登录</a>
        </li>
    </ul>
</nav>

<!--sidebar-->
<nav class="col-md-2 d-none d-md-block  sidebar" id="sidebar">
    <div class="sidebar-sticky">
        <ul class="nav flex-column">
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/stu/toindex}"
                   th:class="${activeUri=='index'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M3 9l9-7 9 7"></path>
                        <path d="M9 22V12H15V22"></path>
                    </svg>
                    首页
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/stu/toUpdateMsgPage}"
                   th:class="${activeUri=='msg'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
                        <circle cx="9" cy="7" r="4"></circle>
                        <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
                    </svg>
                    个人信息
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link active" href="#" th:href="@{/stu/toresdmin/1}"
                   th:class="${activeUri=='result'?'nav-link active':'nav-link'}">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
                        <path d="M14 2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-6-6zm-1 15h-4"></path>
                        <polyline points="14 2 14 8 20 8"></polyline>
                        <line x1="16" y1="13" x2="8" y2="13"></line>
                        <line x1="16" y1="17" x2="8" y2="17"></line>
                        <polyline points="10 9 9 9 8 9"></polyline>
                    </svg>
                    成绩
                </a>
            </li>
        </ul>
        <img src="/helps/img/ctbu1.jpg" alt="logo" style="position: absolute; bottom: 0; height: auto; max-width: 100%; width: 100%;">
    </div>
</nav>

</body>
</html>